//
//  YDViewController.m
//  MyComponent
//
//  Created by Yigol on 12/27/2018.
//  Copyright (c) 2018 Yigol. All rights reserved.
//

#import "YDViewController.h"
#import <YDAlert.h>

@interface YDViewController ()

@end

@implementation YDViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}


- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];

    [self yd_showNoticeAlertWithTitle:@"Message" message:@"Merry Christmas" handler:^{
        NSLog(@"ok.....");
    }];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
